home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / classic.jar / skin / classic / global / notification.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2008-04-29  |  1.0 KB  |  53 lines

  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. notification {
  4.   background-color: InfoBackground;
  5.   color: InfoText;
  6. }
  7.  
  8. notification[type="info"] {
  9.   background-color: -moz-Dialog;
  10.   color: -moz-DialogText;
  11. }
  12.  
  13. notification[type="critical"] {
  14.   background-color: red;
  15.   color: white;
  16. }
  17.  
  18. .messageImage {
  19.   width: 16px;
  20.   height: 16px;
  21.   margin: 0px 1px 0px 6px;
  22. }
  23.  
  24. /* Default icons for notifications */
  25.  
  26. notification[type="info"] .messageImage {
  27.   list-style-image: url("chrome://global/skin/icons/information-16.png");
  28. }
  29.  
  30. notification[type="warning"] .messageImage {
  31.   list-style-image: url("chrome://global/skin/icons/warning-16.png");
  32. }
  33.  
  34. notification[type="critical"] .messageImage {
  35.   list-style-image: url("chrome://global/skin/icons/error-16.png");
  36. }
  37.  
  38. .messageText {
  39.   -moz-margin-start: 5px;
  40. }
  41.  
  42. .messageButton {
  43.   margin: 0px 5px 0px 5px;
  44. }
  45.  
  46. .messageCloseButton {
  47.   list-style-image: url("moz-icon://stock/gtk-close?size=menu");
  48. }
  49.  
  50. .messageCloseButton > .toolbarbutton-icon {
  51.   margin: 0px !important;
  52. }
  53.